Method for recording and managing a multi-channel stream

ABSTRACT

The present invention relates to a method for recording and managing a multi-channel broadcast stream. The present method records on a recording medium such as a BD-RW a multi-channel broadcast stream where a plurality of channels are multiplexed, and creates and records management information for individual search and reproduction control of the plural channels. Consequently, this method ensures fast random access and various trick play of individual subchannel streams multiplexed in a recorded multi-channel stream at user&#39;s request.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to a method for recording onto a recording medium such as a high-density rewritable optical disk a multi-channel broadcast stream in which data streams belonging to a plurality of channels are multiplexed, and for managing the recorded multi-channel stream.

[0003] 2. Description of the Related Art

[0004] The standardization of a high-capacity rewritable optical disk, so called ‘Blu-ray Disk Rewritable’ (abbreviated ‘BD-RW’), is in rapid progress so that various products related with a BD-RW will be developed and commercialized in the near future.

[0005]FIG. 1 is a simplified block diagram of an optical disk device, which may be a VDR (Video Disk Recorder), capable of recording and reproducing signals to/from a recording medium such as a BD-RW.

[0006] The disk device of FIG. 1 comprises an optical pickup 2 for reading signals recorded on a recording medium 1 such as a BD-RW and for writing data stream processed from input signals; a VDR system 3 for restoring digital data by processing the read signals from the optical pickup 2 and for converting the input signals to data stream whose format is suitable for recording;

[0007] and an encoder 4 for encoding analog input to deliver to the VDR system 3.

[0008] The VDR system 3 of the disk device configured as FIG. 1 records an input data stream onto the placed BD-RW 1. The input data stream may be a digital TV broadcast stream provided through a tuner or be a digital data stream provided from a personal computer (PC) through a digital interface such as IEEE1394 standard.

[0009] The digital TV broadcast stream is classified into two types, one for an open broadcast stream and the other for a private broadcast stream. The open broadcast stream, which may be major TV broadcast stream formats in many countries, means that its stream syntax has been opened. Therefore, the syntax of open broadcast stream can be analyzed by a VDR system of any disk device. The well-known ATSC DTV stream in USA, DVB stream in Europe, and ARIB IDSV stream in Japan pertain to the open broadcast stream.

[0010] On the other hand, the private broadcast stream means a broadcast stream of which syntax is difficult for a DVR system of an ordinary optical device to analyze. The private broadcast stream is generally broadcasted through a cable or a satellite.

[0011] The digital TV broadcast stream may be a broadcast stream that contains program streams of a plurality of logical channels (subchannels). For instance, the ATSC D-TV format standardized in USA can accommodate a single HD-grade program stream or plural SD-grade program streams in a single physical (RF) channel, thus, a digital TV broadcast stream in which a plurality of SD-grade program streams are multiplexed is called a multi-channel broadcast stream.

[0012] Thus, the disk device must be able to record different types of data stream, namely, an open broadcast stream, a private broadcast stream, and a multi-channel broadcast stream on a BD-RW.

[0013] When the disk device records a multi-channel broadcast stream onto a BD-RW at user's request, it is preferable to write management information for individually accessing each subchannel data stream and trick play. However, what management information to create and how to write it have not been resolved yet.

SUMMARY OF THE INVENTION

[0014] It is an object of the present invention to provide a method of creating and recording onto a rewritable recording medium management information on effective searching and trick play for individual subchannel data stream of a multi-channel broadcast stream while recording the multi-channel broadcast stream onto the recording medium.

[0015] A method of recording and managing a multi-channel broadcast stream in accordance with the present invention is characterized in that it records on a recording medium a multi-channel broadcast stream where a plurality of channels are multiplexed, and creates and records management information for individual search and reproduction control of said plural channels.

BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are included to provide a further understanding of the invention, illustrate the preferred embodiments of the invention, and together with the description, serve to explain the principles of the present invention.

[0017] In the drawings:

[0018]FIG. 1 is a simplified block diagram of an optical disk device such as a VDR (Video Disk Recorder);

[0019]FIG. 2 shows a flow chart of a preferable embodiment of the present invention;

[0020]FIG. 3 shows an entry point map and a time unit map that are created under file structure of a BD-RW in accordance with a multi-channel broadcast stream recording/managing method;

[0021]FIG. 4 illustrates a time unit map created in accordance with the present invention;

[0022]FIG. 5 illustrates an entry point map created in accordance with the present invention;

[0023]FIG. 6 shows a data stream example in which two subchannel streams extracted from a single physical channel are recorded in the conditional normal recording mode.

DETAILED DESCRIPTION OF THE PREFFERRED EMBODIMENT

[0024] In order that the invention may be fully understood, preferred embodiments thereof will now be described with reference to the accompanying drawings.

[0025] A method of recording and managing a multi-channel broadcast stream in accordance with the present invention is applicable to the disk device shown in FIG. 1. The VDR system 3 of the disk device records onto a placed BD-RW 1 a digital broadcast stream received through a tuner or a data stream received from a PC through a digital interface such as IEEE1394 standard. During the record, the VDR system 3 creates management information for searching and trick play of the recorded stream and writes the management information in matching way with the file structure of a BD-RW.

[0026] Now, a preferable embodiment of the present invention is described below in detail.

[0027]FIG. 2 shows a flow chart of a preferable embodiment of the present invention.

[0028] The disk device of FIG. 1 starts to record a digital broadcast stream received through a tuner as a clip file (*.m2ts) under the subdirectory ‘STREAM’ at user's request through key inputs (S10). At this time, the VDR system 3 checks the type of the received stream.

[0029] If the type is not open broadcast stream but private one whose syntax can not be known, the VDR system 3 creates search information for the recorded private broadcast stream and writes the search information in a clip information file (*.clpi) under a subdirectory ‘CLIPINF’, as shown in FIG. 3 (S16). This recording manner for a private broadcast stream is called ‘Streamer Recording’ (SR).

[0030] The search information is written in CPI (Characteristic Point Information) field reserved in a clip information file and it is a map of time units that is explained later.

[0031] If the received broadcast stream is encrypted (scrambled) with an encryption key although it is open one, the VDR system 3 applies the SR manner to the received stream, that is, the VDR system 3 records the received stream as a clip file under the subdirectory ‘STREAM’ and writes a map of time units in CPI field of a related clip information file (S16).

[0032] If the type is open and the digital broadcast stream has not been encrypted at the same time, the VDR system 3 checks user's selection on whether multi-channel recording or not. If multi-channel recording is chosen by a user (S13), the VDR system 3 records a multi-channel stream carrying a plurality of SD-grade program streams tuned by the tuner as a clip file (*.m2ts) under the subdirectory ‘STREAM’ without selecting a SD-grade subchannel from a tuned physical channel.

[0033] While recording the multi-channel stream, the VDR system 3 creates a map of time units ‘TU_map’ for the multi-channel stream and writes the map in the CPI field of a related clip information file. At the same time, the VDR system 3 creates respective entry point (EP) maps, which are for search and trick play of individual subchannel streams, and writes the EP maps in an MPD (MakersPrivateData) area reserved in the related clip information file, as shown in FIG. 3 (S17). This recording manner that creates EP maps as well as a time unit map is called ‘Conditional Normal Recording’ (CNR).

[0034] In case that the type is open and the digital broadcast stream has not been encrypted at the same time, if a user selects not a multi-channel recording but a single channel or a single subchannel recording, the VDR system 3 extracts a single chosen subchannel broadcast stream from a received physical channel (S14) and records it onto the placed BD-RW 1. This recording manner is called ‘Normal Recording’ (NR).

[0035] In the NR mode, the extracted subchannel stream is also recorded as a clip file (*.m2ts) under the subdirectory ‘STREAM’ and a single EP map, management information for search and trick play, of the recorded stream is written in the CPI field in a related clip information file (*.clpi).

[0036]FIG. 4 illustrates a time unit map and its internal entries that are created in the SR and the CNR mode. The time unit map is composed of the size information of a time unit ‘Time_Unit_Size’ and start source packet numbers (SPNs) of individual time units ‘SPN_Time_Unit_Start #k’. The SPN_Time_Unit_Start entries are used for rapid access of an arbitrary recording position on the recorded data stream in a clip file.

[0037] The VDR system 3 continuously counts successively-received source packets contained a private broadcast stream, a scrambled open broadcast stream, or a multi-channel data stream every time window set by the field ‘Time_Unit_Size’, and it writes sequentially in each SPN_Time_Unit_Start field respective sequence numbers of packets arrived first within each time window.

[0038] The time unit map is used for searching the recorded data stream. For instance, if a specific time location is entered, the entered time is divided by the value in the ‘Time_Unit_Size’ field, first. Then, a SPN_Time_Unit_Start entry that is indexed by a value resulting from the division is read and a source packet whose number is same with the value in the read entry is searched for in the recorded stream.

[0039]FIG. 5 illustrates an EP map and its internal entries that are created in the NR and the CNR mode. Each EP map is composed of an ID of stream packets ‘stream_PID’, the number of EPs ‘num_EP_entries’, plural pairs of PTS (Presentation Time Stamp) ‘PTS_EP_start’ and SPN (Source Packet Number) ‘SPN_EP_start’ of every source packet having video data that is random-accessible on the recorded data stream in a clip file.

[0040] For constructing an EP map or EP maps, the VDR system 3 examines individual source packets of a unencrypted open broadcast stream or a multi-channel stream to know whether or not they are I-picture starting ones that are accessible in random. An I-picture starting packet includes a payload where a GOP starts from head and has its TP header in which PUSI (Payload Unit Start Indicator) is set, so that the VDR system 3 reads PTS written in a PES header of a source packet whose PUSI is set.

[0041] And, the VDR system 3 identifies relative sequence number, namely, SPN of the source packet whose PUSI is set. The read PTS and the identified SPN of every PUSI-set source packet are written in the fields of ‘PTS_EP_start’ and ‘SPN_EP_start’, respectively. The number of pairs of the ‘PTS_EP_Start’ and the ‘SPN_EP_Start’ entry is written in the field ‘num_EP_entries’ and PID of source packets constituting the recorded data stream or each subchannel stream is written in the field ‘stream_PID’.

[0042]FIG. 6 shows a data stream example in which two subchannel streams extracted from a single physical channel are recorded in the CNR mode. In the example of FIG. 6, mutually-multiplexed source packet series ‘TP_Channel 1’ and ‘TP_channel 2’ pertaining to two subchannels are recorded in a clip file ‘01001.m2ts’.

[0043] A time unit map for wholly searching a data stream in the file ‘01001.m2ts’ composed of the two subchannel streams has been written in the field ‘CPI’ of the clip information file ‘01001.clpi’. And, two EP maps ‘EP_map #1’ and ‘EP_map #2’ for searching the first and the second subchannel stream individually have been written in an MPD area reserved in the clip information file ‘01001.clpi’.

[0044] A play list file named ‘01001.rpls’ has been created for playback control of the clip file ‘01001.m2ts’. The play list file ‘01001.rpls’ has several play items containing management information related with the recorded data stream in the clip file ‘01001.rpls’. The play item includes the number of subchannels of the recorded multi-channel stream, PTSs ‘IN_time_PTS’ and ‘OUT_time_PTS’, written in the EP map, of a start and an end packet of a subchannel stream interval to refer to, and a start and an end time ‘IN_time’ and ‘OUT_time’, calculated from the time unit map, of the subchannel stream interval to refer to.

[0045] The number of subchannels and the two PTSs ‘IN_time_PTS’ and ‘OUT_time_PTS’ are written in an MPD area reserved in a play item.

[0046] In the illustrative case of data stream recording in FIG. 6, if a play item, e.g., the first play item is selected from a lay list ‘01001.rpls’, the VDR system 3 identifies an entry set n an EP map related with the first subchannel with reference to information of the number of subchannels and the start and the end PTS written in the MPD area of the chosen play item.

[0047] Afterwards, the VDR system 3 searches source packets pertaining to the data stream of the first subchannel recorded in multiplexed manner in the file ‘01001.m2ts’ for I-picture starting packets or conducts a trick play of only the first-subchannel stream among the recorded multi-channel stream by selectively decoding I-pictures with reference to the information of PTS_EP_start and SPN_EP_start written in successive entries in the identified entry set.

[0048] If another play item related with a data stream of the second subchannel is selected from a play list ‘01001.rpls’, the VDR system 3 identifies an entry set in another EP map related with the second subchannel with reference to information of the number of subchannels and the start and the end PTS written in the MPD area of the chosen play item.

[0049] Afterwards, the VDR system 3 searches source packets pertaining to the data stream of the second subchannel recorded in multiplexed manner in the file ‘01001.m2ts’ for I-picture starting packets or conducts a trick play of only the second-subchannel stream among the recorded multi-channel stream by selectively decoding I-pictures with reference to the information of PTS_EP_start and SPN_EP_start written in successive entries in the identified entry set.

[0050] In the event that it is needed to search not individually but wholly the recorded multi-channel stream of the two subchannels recorded in the clip file ‘01001.m2ts’ related with the play list ‘01001.rpls’, the VDR system 3 identifies a clip information file ‘01001.clpi’ including management information about the clip file ‘01001.m2ts’ first, and then accesses fast a certain source packet located most closely to a given time location on the recorded multi-channel broadcast stream.

[0051] The above-explained method of recording and managing a multi-channel broadcast stream ensures fast random access and various trick play of individual subchannel streams multiplexed in a recorded multi-channel stream at user's request. Moreover, it makes it possible to search for a certain target point on an entire multi-channel stream fast.

[0052] While the invention has been disclosed with respect to a limited number of embodiments, those skilled in the art, having the benefit of this disclosure, will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations as fall within the true spirit and scope of the invention. 

What is claimed is:
 1. A method of recording and managing a multi-channel broadcast stream, comprising the steps of: (a) recording a multi-channel broadcast stream on a recording medium, wherein a plurality of channels are multiplexed in said multi-channel stream; and (b) creating and recording management information for individual search and reproduction control of said plural channels.
 2. The method of claim 1, wherein said step (a) records said multi-channel broadcast stream as a single clip file.
 3. The method of claim 1, wherein said step (b) creates and records an entry point map for each channel.
 4. The method of claim 3, wherein the entry point map is recorded in an MPD (MakersPrivateData) area reserved in a clip information file for storing information about the recorded multi-channel broadcast stream.
 5. The method of claim 3, wherein the entry point map includes an ID of stream packets pertaining to a channel, the number of entry points, plural pairs of PTS (Presentation Time Stamp) and SPN (Source Packet Number) of every source packet having video data that is random-accessible on a data stream of a channel concerned.
 6. The method of claim 5, wherein said step (b) records respective PTSs written in a start and an end entry of an entry set specified in the entry point map in a play item included in a play list associated with the recorded multi-channel stream.
 7. The method of claim 1, wherein said step (b) creates and records additional management information for searching the recorded multi-channel stream not individually but wholly.
 8. The method of claim 7, wherein the additional management information is recorded in a clip information field reserved in a clip information file for storing information about the recorded multi-channel broadcast stream.
 9. The method of claim 7, wherein the additional management information includes size information of a time unit and a start source packet number of each time unit, wherein the time unit is a group of packets that are received for a given constant time.
 10. The method of claim 9, wherein said step (b) records information related with a start and an end unit of a time unit set specified in the additional management information in a play item included in a play list associated with the recorded multi-channel stream.
 11. The method of claim 10, wherein the unit related information is a start packet number of each time unit.
 12. The method of claim 1, wherein the management information includes the number of channels that are included in the recorded multi-channel stream. 